package com.ssy.lingxi.logistics.api.dto.request;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 主键id请求实体类
 * @author yzc
 * @version 2.0.0
 * @date 2020/8/6
 */
public class CommonIdRequest implements Serializable {

    private static final long serialVersionUID = 118398113963974835L;

    /**
     * 主键id
     */
    @NotNull(message = "主键id不能为空")
    private Long id;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
}
